package com.wang.business.interfaceImpl;

import com.wang.api.Interface.SayHi;
import org.apache.dubbo.config.annotation.DubboService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@DubboService
public class SayHiImpl implements SayHi {

    private static final Logger logger = LoggerFactory.getLogger(SayHiImpl.class);

    @Override
    public String sayHi(String msg) {
        logger.info("sayHi logger info ====>{}", msg);
        return "Hi, " + msg;
    }
}
